package com.ruoyi.chargepile.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.chargepile.domain.Orders;
import com.ruoyi.chargepile.domain.vo.OnlyOneQueryValue;
import com.ruoyi.chargepile.mapper.OrdersMapper;
import com.ruoyi.chargepile.service.OrdersService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 订单表 服务实现类
 * </p>
 *
 * @author zxc
 * @since 2024-07-03
 */
@Service
public class OrdersServiceImpl extends ServiceImpl<OrdersMapper, Orders> implements OrdersService {

    @Resource
    private OrdersMapper ordersMapper;

    @Override
    public List<OnlyOneQueryValue> listOrderNumber() {
        return ordersMapper.listOrderNumber();
    }
}
